package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.MemberDetailDTO;
import com.ruoyi.system.domain.TMember;

import java.util.List;

/**
 * 会员信息
 * 
 * @author ruoyi
 * @date 2025-08-25
 */
public interface TMemberMapper
{
    /*根据会员id查询会员信息*/
    public TMember selectTMemberByMemberId(Long memberId);


    /*查询会员信息*/
    public List<TMember> selectTMemberList(TMember member);


    /*增加会员信息*/
    public int insertTMember(TMember tMember);

   /*更新会员信息*/
    public int updateTMember(TMember tMember);

    /*删除会员信息*/
    public int deleteTMemberByMemberId(Long memberId);

    /*批量删除会员信息*/
    public int deleteTMemberByMemberIds(Long[] memberIds);

    /*根据会员id查询会员详细详细*/
    public MemberDetailDTO selectMemberDetailById(Long memberId);

    /*根据用户id查询用户名称*/
    List<TMember> selectUserNameByUserId();
}
